package pfc.pfcjoc.core;

import org.jbox2d.dynamics.World;

import pfc.pfcjoc.entities.Element;

public class PlayLevel extends Level {

  public PlayLevel(World levelWorld) {
    super(levelWorld);
  }


  public void update(float delta) {
    super.update(delta);

    // getPlayer().update(delta);
    // calcula accions dels elements
    for (Element elem : worldElems) {
      elem.update(delta);
    }
    world.step(0.033f, 10, 10);
  }

}
